//
//  XZProfileViewController.m
//  IBeeBo
//
//  Created by Sean on 16/4/4.
//  Copyright © 2016年 Sean. All rights reserved.
//

#import "XZProfileViewController.h"
#import "XZTestViewController.h"


@interface XZProfileViewController ()<UITableViewDataSource,UITableViewDelegate>

@end

@implementation XZProfileViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"设置" style:UIBarButtonItemStylePlain target:self action:@selector(seting)];
    
       XZLog(@"我的模块创建一次");
}
- (void)seting{
  
    XZLog(@"设置");
}
#pragma mark--UITableViewDataSource
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    
    return 20;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    static NSString *CellID = @"Profile";
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellID];
    if (!cell) {
        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellID];
    }
    
    cell.textLabel.text = [NSString stringWithFormat:@"Profile%ld",indexPath.row];
    
    
    return cell;
    
}



@end
